package org.atlantis.uzw.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "account_guests")
public class AccountGuest extends IdEntity {

	private static final long serialVersionUID = 5020046128012170537L;

	@Column(name = "key")
	private String key;

	@Column(name = "active_time")
	@Temporal(TemporalType.TIMESTAMP)
	private Date activeTime;

	@Column(name = "binded")
	private boolean binded;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Date getActiveTime() {
		return activeTime;
	}

	public void setActiveTime(Date activeTime) {
		this.activeTime = activeTime;
	}

	public boolean isBinded() {
		return binded;
	}

	public void setBinded(boolean binded) {
		this.binded = binded;
	}
}
